package cn.gok.oa.information.service;

import cn.gok.oa.information.dto.InformationDto;
import cn.gok.oa.information.entity.TbInformation;
import cn.gok.oa.information.vo.CommentVo;
import cn.gok.oa.information.vo.InformationVo;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gok
 * @since 2022-08-04
 */
public interface ITbInformationService extends IService<TbInformation> {
    List<TbInformation> info(InformationDto informationDto);
    JSONObject getOneInfo(Integer id);
    IPage<InformationVo> selectCommentList(Page<InformationVo> page, String search);
}
